home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
telecomm
/
transbbs.lzh
/
PRTUSR
/
PRNTUSER.ASC
< prev
next >
Wrap
Text File
|
1991-12-04
|
8KB
|
181 lines
Print User Program for Transcendence BBS
Version 2.0
First off, I must say that I am not responsible for any damage to your
system or any lost time due to the execution of this program. By using it,
you accept it as is and all responsibility is yours. I have tried to
maintain the integrity of this program. This program may not be altered in
any way except by the author and those who have the authorization to do
so. This program is copyright (c) 1991, Twilight Zone Software. Written by
Wayne Watson of General Applications Software. It is designed to only work
for Transcendence BBS. I retain all rights to modify this program as I see
fit.
Now, this program was written to aid the Sysop and those who have
access to it, to be able to search and print out information on the users
in a number of ways. It's main purpose was to allow the sysop to print out
the users. If your USERS.DAT file got corrupted or whatever, then you
would at least have a backup. While I was at it, I also added the ability
to print out mailing labels.
When the program is executed, you will be presented with an
introduction screen.
MAIN MENU
---------
1) Search for User:
This will take you to the section that allows you to search for a user
in a number of ways. You can print the results of the search, send it to a
disk file, send it to the screen one at a time or continuously if more
than one user is found or get a mailing label of the user. You can search
on multiple fields and have the program search for users that match ALL or
ANY of the fields.
SEARCH FOR USER MENU
--------------------
Selecting any of the items will present you with a prompt to enter the
data that you want to search on. Don't worry about the capitilization or
anything. The fields that you have a choice to search on should be self-
explainatory. If you choose more than one field to search on, you will be
given the option (after pressing return to begin the search) of searching
for users that match ALL or ANY of the field contents you have entered.
Selecting ALL will cause the program to search for users that match ALL of
the search criteria and ANY will cause the program to search for users
that match ANY of the search criteria.
If a user is found that matches the search criteria, you will be given
a choice of options.
[A]gain will display the user again.
[C]ontinue will continue the search (also you can press return here).
[Q]uit will abort the search.
[P]rint will print out the user on your printer.
[W]rite will send the display to a disk file. You must have entered a
disk filename in the 'Options' section for this to work. This will
Append the user to the file. You must delete the file if you want
to start over.
[L]abel will print a mailing label of the user. The 'Options' under
the 'Mailing List' section will affect the output of this label. If
you have output to Screen on then it will print it to the
screen/modem.
2) Options:
This will take you to a menu that will give you some options. Some of
these are, Send output to printer, Send output to disk file, Continuous
Scroll and Mailing List, which will take you to another menu to setup the
options for the mailing list. Most of these choices are toggles that you
can toggle on and off.
OPTIONS MENU
------------
1) Send Output to Printer
This will send the output of 'List All Users' to the printer.
You can press Control C at anytime to abort the printout. This
will not flush any printer buffer you may have though.
2) Send Output to Disk File
This will toggle the output to the file set in option 3. It will
toggle it on/off. This only effects 'List All Users'. Pressing
Control C will abort the output.
3) Disk Filename
When you choose this option, you will be prompted for the path
and filename of the file you wish to send the output to. This was
added so that when you turned off output to disk, you would not
have to enter the filename again when you wanted it back on.
4) Continuous Scroll
This will send the output of the searches and 'List ALL Users'
in a continuous manner without prompts between each user. This
is handy if you want a listing and you are using the system from
a remote and do not want to be prompted between users.
5) Exit to Main Menu
This does just what it says.
3) List ALL users:
This will print out all users found in the UserLog. Several of the
options will affect the output of this listing. The default output is to
the screen and/or the modem, depending on if the program has been ran from
the remote end or the keyboard. Send output to Disk File and Continuous
Scroll will affect this selection. If Continuous Scroll is OFF, you will
be given the same choices as you are under the Search User area.
4) Mailing List
This will take you a menu that allows you to setup the parameters for
the Mailing List. You may need to play with the different settings to get
the desired output.
MAILING LIST MENU
-----------------
1) Left Margin will allow you to set the Left Margin amount.
This will set how many spaces from the left you want the
printout to start printing.
2) Linefeeds will tell the program how many lines are between
each row of the labels.
3) Labels Across will tell the program how many labels are
across the page. Normally it will only be 1.
4) Label Spacing is used in conjunction with item 3 above. It is
the number of spaces that should be skipped between each label
across.
5) # of Columns is the number of characters that can be placed
on the label.
6) TOF Spacing is the number of linefeeds to be sent before printing
the first row of labels. On a Deskjet, 3 is the usual number using
Avery 5260 labels.
7) Labels Down is the number of rows of labels on a page. Normally
this is only used for Deskjet and Laser Printer owners. For Avery
5260 labels, this would be 10.
8) Output to is where you select to either send the labels to
Screen/Modem or Printer. Disk printing may be added later.
9) Print Mailing List is where you tell the program to start priting
the labels.
5) Save Configuration:
This will allow you to save all of your settings. Each time the
program is ran, it will look for the PRINTUSR.DAT file and load the
settings in. This will allow you to configure the program the way you want
it to boot up each time. Included in this archive is an example of my
PRINTUSR.DAT file. It has the numbers for using a Deskjet and Avery 5260
labels.
That is about it for now. I plan to add some things later on. If you
have a suggestion for improvements or features, please leave me E-mail on
the Transcendence Support BBS at 1-502-897-1589 or call Support Line 2 at
1-803-879-4186. I go by Wayne Watson on Line 1 and I am Sysop on line 2.
This program MUST be placed on the same drive that you keep your
UserLog on. It assumes that the file is in the \DATA\ folder. You do
not need to have it in the same folder, just the same drive.
This version uses a text file that you define. I figured it would be better
to allow the sysop to define what he wants to print out. What may be
important to me, may not be important to you. It is fairly flexable. Read
the file PU_TAGS.TXT so that you will know what tags to use. The file
pretty much explains how to make it up. I have included a copy of my text
file as an example. This file MUST be called 'USERS.TXT